import { defineStore } from 'pinia';
import { ref } from 'vue';

export const userUserStore = defineStore(
    'user',
    () => {
        const count = ref(0);

        const age = ref(25);
        function incr() {
            count.value++;
        }
        return {
            count,
            incr,
            age
        };
    },
    { persist: true }
);
